﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TravelWallet;
using System.IO;
using System.Xml.Serialization;
using TravelWallet.Types;

namespace ProgramOutputter
{
    class Program
    {
        static void Main(string[] args)
        {
            string inputFilePath = @"C:\Users\Mini\Documents\Visual Studio 2010\Projects\Semen\chianti\TravelWallet\TravelWallet\ProgramOutputter\pointsprogramdata.xml";
            string outputFilePath = @"C:\Users\Mini\Documents\Visual Studio 2010\Projects\Semen\chianti\TravelWallet\TravelWallet\ProgramOutputter\pointsprogramdata-new.xml";

            LocalStorageModel model = null;

            //Comment out this line when only adding new programs to an existing pointsprogramdata.xml file, uncomment when recreating pointsprogramdata.xml file
            model = new LocalStorageModel();

            //Uncomment this line when only adding new programs to an existing pointsprogramdata.xml file, comment out when recreating pointsprogramdata.xml file
            //model = Program.LoadPrograms(inputFilePath);
            
            AddNewPrograms(model);
            WriteToFile(model, outputFilePath);
        }

        private static void WriteToFile(LocalStorageModel model, string outputFilePath)
        {
            XmlSerializer serializer = new XmlSerializer(typeof(LocalStorageModel));
            StreamWriter stream = new StreamWriter(outputFilePath,false);

            serializer.Serialize(stream, model);

            stream.Close();
           
        }

        private static void AddNewPrograms(LocalStorageModel model)
        {
            ////Misc Partner Groups

            PartnerGroup notApplicable = new PartnerGroup();
            notApplicable.Name = "Not Applicable";
            notApplicable.Partners.Add("Not Applicable");


            
            //Airlines

            PartnerGroup starAlliance = new PartnerGroup();
            starAlliance.Name = "Star Alliance";
            PartnerGroup skyTeam = new PartnerGroup();
            skyTeam.Name = "SkyTeam";
            PartnerGroup oneWorld = new PartnerGroup();
            oneWorld.Name = "oneworld";

            oneWorld.Partners.Add("Air Nostrum");
            oneWorld.Partners.Add("American Airlines");
            oneWorld.Partners.Add("British Airways");
            oneWorld.Partners.Add("Cathay Pacific");
            oneWorld.Partners.Add("DragonAir");
            oneWorld.Partners.Add("Eastern Australia Airlines");
            oneWorld.Partners.Add("Executive Airlines");
            oneWorld.Partners.Add("Finnair");
            oneWorld.Partners.Add("Iberia");
            oneWorld.Partners.Add("Japan Airlines (JAL)");
            oneWorld.Partners.Add("LAN Airlines");
            oneWorld.Partners.Add("LAN Argentina");
            oneWorld.Partners.Add("LAN Ecuador");
            oneWorld.Partners.Add("LAN Express");
            oneWorld.Partners.Add("LAN Peru");
            oneWorld.Partners.Add("Malev Hungarian Airlines");
            oneWorld.Partners.Add("Mexicana");
            oneWorld.Partners.Add("Qantas");
            oneWorld.Partners.Add("Royal Jordanian");
            oneWorld.Partners.Add("S7 Airlines");
            oneWorld.Partners.Add("Sunstate Airlines");
            skyTeam.Partners.Add("Aeroflot");
            skyTeam.Partners.Add("AeroMexico");
            skyTeam.Partners.Add("Air Europa");
            skyTeam.Partners.Add("Air France");
            skyTeam.Partners.Add("Air One CityLiner");
            skyTeam.Partners.Add("Alaska Airlines");
            skyTeam.Partners.Add("Alitalia");
            skyTeam.Partners.Add("Brit Air");
            skyTeam.Partners.Add("China Southern Airlines");
            skyTeam.Partners.Add("Czech Airlines");
            skyTeam.Partners.Add("Delta Airlines");
            skyTeam.Partners.Add("Donavia");
            skyTeam.Partners.Add("Kenya Airways");
            skyTeam.Partners.Add("KLM");
            skyTeam.Partners.Add("Korean Air");
            skyTeam.Partners.Add("Nordavia Airlines");
            skyTeam.Partners.Add("TAROM");
            skyTeam.Partners.Add("Vietnam Airlines");
            starAlliance.Partners.Add("Adria Airways");
            starAlliance.Partners.Add("Aegean Airlines");
            starAlliance.Partners.Add("Air Canada");
            starAlliance.Partners.Add("Air China");
            starAlliance.Partners.Add("Air New Zealand");
            starAlliance.Partners.Add("Air Nippon");
            starAlliance.Partners.Add("ANA (All Nippon Airways)");
            starAlliance.Partners.Add("Asiana Airlines");
            starAlliance.Partners.Add("Austrian Airlines");
            starAlliance.Partners.Add("Austrian Arrows");
            starAlliance.Partners.Add("Blue1");
            starAlliance.Partners.Add("BMI");
            starAlliance.Partners.Add("Brussels Airlines");
            starAlliance.Partners.Add("Continental Airlines");
            starAlliance.Partners.Add("Croatia Airlines");
            starAlliance.Partners.Add("EgyptAir");
            starAlliance.Partners.Add("EuroLOT");
            starAlliance.Partners.Add("Eurowings");
            starAlliance.Partners.Add("Lauda Air");
            starAlliance.Partners.Add("LOT Polish Airlines");
            starAlliance.Partners.Add("Lufthansa");
            starAlliance.Partners.Add("Mount Cook Airline");
            starAlliance.Partners.Add("Pantanal Linhas Aereas");
            starAlliance.Partners.Add("Portugalia");
            starAlliance.Partners.Add("PSA Airlines");
            starAlliance.Partners.Add("Scandinavian Airlines");
            starAlliance.Partners.Add("Singapore Airlines");
            starAlliance.Partners.Add("South African Airways");
            starAlliance.Partners.Add("Spanair");
            starAlliance.Partners.Add("Swiss European Air Lines");
            starAlliance.Partners.Add("Swiss International Air Lines");
            starAlliance.Partners.Add("TAM Airlines");
            starAlliance.Partners.Add("TAP Portugal");
            starAlliance.Partners.Add("Thai Airways International");
            starAlliance.Partners.Add("Turkish Airlines");
            starAlliance.Partners.Add("Tyrolean Airways");
            starAlliance.Partners.Add("United Airlines");
            starAlliance.Partners.Add("US Airways");
            starAlliance.Partners.Add("Wideroe");

            model.AddProgramToList(1, ProgramCategory.Airlines, "Adria Airways", "Miles & More", starAlliance);
            model.AddProgramToList(2, ProgramCategory.Airlines, "Aegean Airlines", "Miles & Bonus", starAlliance);
            model.AddProgramToList(3, ProgramCategory.Airlines, "Aer Arann", "Silver Club", notApplicable);
            model.AddProgramToList(4, ProgramCategory.Airlines, "Aer Lingus", "Gold Circle Club", notApplicable);
            model.AddProgramToList(5, ProgramCategory.Airlines, "Aeroflot ", "Areoflot Bonus", skyTeam);
            model.AddProgramToList(6, ProgramCategory.Airlines, "AeroMexico", "Club Premier", skyTeam);
            model.AddProgramToList(7, ProgramCategory.Airlines, "AeroRepublica", "OnePass", notApplicable);
            model.AddProgramToList(8, ProgramCategory.Airlines, "Aerosvit Ukranian Airlines", "Meridan Program", notApplicable);
            model.AddProgramToList(9, ProgramCategory.Airlines, "Afriqiyah Airways ", "Rahal", notApplicable);
            model.AddProgramToList(10, ProgramCategory.Airlines, "Air Algerie", "Air Algerie Plus", notApplicable);
            model.AddProgramToList(11, ProgramCategory.Airlines, "Air Astana", "Nomand Club", notApplicable);
            model.AddProgramToList(12, ProgramCategory.Airlines, "Air Austral", "Capricorne Program", notApplicable);
            model.AddProgramToList(13, ProgramCategory.Airlines, "Air Berlin", "topbonus", notApplicable);
            model.AddProgramToList(14, ProgramCategory.Airlines, "Air Canada", "Aeroplan", starAlliance);
            model.AddProgramToList(15, ProgramCategory.Airlines, "Air China", "Air China Companion", starAlliance);
            model.AddProgramToList(16, ProgramCategory.Airlines, "Air Europa", "Flying Blue", skyTeam);
            model.AddProgramToList(17, ProgramCategory.Airlines, "Air France", "Flying Blue", skyTeam);
            model.AddProgramToList(18, ProgramCategory.Airlines, "Air India", "Maharaja Club", notApplicable);
            model.AddProgramToList(19, ProgramCategory.Airlines, "Air Macau", "CIP Club", notApplicable);
            model.AddProgramToList(20, ProgramCategory.Airlines, "Air Madagascar", "Namako", notApplicable);
            model.AddProgramToList(21, ProgramCategory.Airlines, "Air Malta", "Flypass", notApplicable);
            model.AddProgramToList(22, ProgramCategory.Airlines, "Air Mauritius", "KestralFlyer", notApplicable);
            model.AddProgramToList(23, ProgramCategory.Airlines, "Air Namidia ", "Reward$", notApplicable);
            model.AddProgramToList(24, ProgramCategory.Airlines, "Air New Zealand", "Airpoints", starAlliance);
            model.AddProgramToList(25, ProgramCategory.Airlines, "Air Nippon", "ANA Mileage Club", starAlliance);
            model.AddProgramToList(26, ProgramCategory.Airlines, "Air Nostrum", "Iberia Plus", oneWorld);
            model.AddProgramToList(27, ProgramCategory.Airlines, "Air One CityLiner", "MilleMiglia", skyTeam);
            model.AddProgramToList(28, ProgramCategory.Airlines, "Air Seychelles", "Seychelles Plus", notApplicable);
            model.AddProgramToList(29, ProgramCategory.Airlines, "Airblue", "Blue Miles", notApplicable);
            model.AddProgramToList(30, ProgramCategory.Airlines, "AirTran Airways", "A+ Rewards", notApplicable);
            model.AddProgramToList(31, ProgramCategory.Airlines, "Alaska Airlines", "Mileage Plan", skyTeam);
            model.AddProgramToList(32, ProgramCategory.Airlines, "Alitalia", "MilleMiglia", skyTeam);
            model.AddProgramToList(33, ProgramCategory.Airlines, "American Airlines", "AAdvantage", oneWorld);
            model.AddProgramToList(34, ProgramCategory.Airlines, "ANA (All Nippon Airways)", "ANA Mileage Club", starAlliance);
            model.AddProgramToList(35, ProgramCategory.Airlines, "Aserca Airlines", "Privilege", notApplicable);
            model.AddProgramToList(36, ProgramCategory.Airlines, "Asiana Airlines", "Asiana Club", starAlliance);
            model.AddProgramToList(37, ProgramCategory.Airlines, "Austrian Airlines", "Miles & More", starAlliance);
            model.AddProgramToList(38, ProgramCategory.Airlines, "Austrian Arrows", "Miles & More", starAlliance);
            model.AddProgramToList(39, ProgramCategory.Airlines, "Azul", "TudoAzul", notApplicable);
            model.AddProgramToList(40, ProgramCategory.Airlines, "Bangkok Airways", "Flyer Bonus", notApplicable);
            model.AddProgramToList(41, ProgramCategory.Airlines, "Belavia", "Belavia Leader", notApplicable);
            model.AddProgramToList(42, ProgramCategory.Airlines, "BH Airlines", "Miles & Smiles", notApplicable);
            model.AddProgramToList(43, ProgramCategory.Airlines, "Blue Air", "My Blue Air", notApplicable);
            model.AddProgramToList(44, ProgramCategory.Airlines, "Blue1", "EuroBonus", starAlliance);
            model.AddProgramToList(45, ProgramCategory.Airlines, "BMI", "BMI Diamond Club", starAlliance);
            model.AddProgramToList(46, ProgramCategory.Airlines, "Brit Air", "Flying Blue", skyTeam);
            model.AddProgramToList(47, ProgramCategory.Airlines, "British Airways", "Executive Club", oneWorld);
            model.AddProgramToList(48, ProgramCategory.Airlines, "Brussels Airlines", "Miles & More", starAlliance);
            model.AddProgramToList(49, ProgramCategory.Airlines, "Carpatair", "Frequent Flyer", notApplicable);
            model.AddProgramToList(50, ProgramCategory.Airlines, "Cathay Pacific", "The Marco Polo Club", oneWorld);
            model.AddProgramToList(51, ProgramCategory.Airlines, "China Airlines", "Dynasty Flyer", notApplicable);
            model.AddProgramToList(52, ProgramCategory.Airlines, "China Eastern Airlines", "Eastern Miles", notApplicable);
            model.AddProgramToList(53, ProgramCategory.Airlines, "China Southern Airlines", "Sky Pearl Club", skyTeam);
            model.AddProgramToList(54, ProgramCategory.Airlines, "Continental Airlines", "OnePass", starAlliance);
            model.AddProgramToList(55, ProgramCategory.Airlines, "Croatia Airlines", "Miles & More", starAlliance);
            model.AddProgramToList(56, ProgramCategory.Airlines, "Cyprus Airlines", "Sun Miles", notApplicable);
            model.AddProgramToList(57, ProgramCategory.Airlines, "Czech Airlines", "OK Plus", skyTeam);
            model.AddProgramToList(58, ProgramCategory.Airlines, "Delta Airlines", "SkyMiles", skyTeam);
            model.AddProgramToList(59, ProgramCategory.Airlines, "Dniproavia Airlines", "Meridan Program", notApplicable);
            model.AddProgramToList(60, ProgramCategory.Airlines, "Donavia", "Success Formula", skyTeam);
            model.AddProgramToList(61, ProgramCategory.Airlines, "Donbassareo Airlines", "Meridan Program", notApplicable);
            model.AddProgramToList(62, ProgramCategory.Airlines, "DragonAir", "The Marco Polo Club", oneWorld);
            model.AddProgramToList(63, ProgramCategory.Airlines, "Eastern Australia Airlines", "Qantas Frequent Flyer", oneWorld);
            model.AddProgramToList(64, ProgramCategory.Airlines, "EgyptAir", "Egyptair Plus", starAlliance);
            model.AddProgramToList(65, ProgramCategory.Airlines, "El Al", "Matmid", notApplicable);
            model.AddProgramToList(66, ProgramCategory.Airlines, "Emirates Airlines", "Skywards", notApplicable);
            model.AddProgramToList(67, ProgramCategory.Airlines, "Estonia Air", "EuroBonus", notApplicable);
            model.AddProgramToList(68, ProgramCategory.Airlines, "Ethiopian Airlines", "Sheba Miles", notApplicable);
            model.AddProgramToList(69, ProgramCategory.Airlines, "EuroLOT", "Miles & More", starAlliance);
            model.AddProgramToList(70, ProgramCategory.Airlines, "Eurowings", "Miles & More", starAlliance);
            model.AddProgramToList(71, ProgramCategory.Airlines, "EVA Air", "Evergreen Club", notApplicable);
            model.AddProgramToList(72, ProgramCategory.Airlines, "Executive Airlines", "AAdvantage", oneWorld);
            model.AddProgramToList(73, ProgramCategory.Airlines, "Finnair", "Finnair Plus", oneWorld);
            model.AddProgramToList(74, ProgramCategory.Airlines, "Flybe", "Rewards4all", notApplicable);
            model.AddProgramToList(75, ProgramCategory.Airlines, "Frontier Airlines", "EarlyReturns", notApplicable);
            model.AddProgramToList(76, ProgramCategory.Airlines, "Garuda Indonesia", "Garuda Frequent Flyer", notApplicable);
            model.AddProgramToList(77, ProgramCategory.Airlines, "GermanWings", "Boomerang Clud", notApplicable);
            model.AddProgramToList(78, ProgramCategory.Airlines, "Gol", "Smiles", notApplicable);
            model.AddProgramToList(79, ProgramCategory.Airlines, "Haian Airlines", "Fortune Wings Club", notApplicable);
            model.AddProgramToList(80, ProgramCategory.Airlines, "Hawaiian Airlines", "HawaiianMiles", notApplicable);
            model.AddProgramToList(81, ProgramCategory.Airlines, "Hong Kong Airlines", "Fortune Wings Club", notApplicable);
            model.AddProgramToList(82, ProgramCategory.Airlines, "Iberia", "Iberia Plus", oneWorld);
            model.AddProgramToList(83, ProgramCategory.Airlines, "Icelandair", "Saga Club", notApplicable);
            model.AddProgramToList(84, ProgramCategory.Airlines, "IranAir", "SkyGift", notApplicable);
            model.AddProgramToList(85, ProgramCategory.Airlines, "Japan Airlines (JAL)", "JAL Mileage Bank", oneWorld);
            model.AddProgramToList(86, ProgramCategory.Airlines, "Jat Airways", "A Flight More", notApplicable);
            model.AddProgramToList(87, ProgramCategory.Airlines, "Jet Airways", "Jet Privelage", notApplicable);
            model.AddProgramToList(88, ProgramCategory.Airlines, "JetBlue Airways", "TrueBlue", notApplicable);
            model.AddProgramToList(89, ProgramCategory.Airlines, "Jetstar Airways", "Qantas Frequent Flyer", notApplicable);
            model.AddProgramToList(90, ProgramCategory.Airlines, "Kenya Airways", "Flying Blue", skyTeam);
            model.AddProgramToList(91, ProgramCategory.Airlines, "Kingfisher Airlines", "King Club", notApplicable);
            model.AddProgramToList(92, ProgramCategory.Airlines, "KLM", "Flying Blue", skyTeam);
            model.AddProgramToList(93, ProgramCategory.Airlines, "Korean Air", "SKYPASS", skyTeam);
            model.AddProgramToList(94, ProgramCategory.Airlines, "Kuwait Airways", "Oasis Club", notApplicable);
            model.AddProgramToList(95, ProgramCategory.Airlines, "LAM Mozambique Airlines", "Flamingo Club", notApplicable);
            model.AddProgramToList(96, ProgramCategory.Airlines, "LAN Airlines", "LANPASS", oneWorld);
            model.AddProgramToList(97, ProgramCategory.Airlines, "LAN Argentina", "LANPASS", oneWorld);
            model.AddProgramToList(98, ProgramCategory.Airlines, "LAN Ecuador", "LANPASS", oneWorld);
            model.AddProgramToList(99, ProgramCategory.Airlines, "LAN Express", "LANPASS", oneWorld);
            model.AddProgramToList(100, ProgramCategory.Airlines, "LAN Peru", "LANPASS", oneWorld);
            model.AddProgramToList(101, ProgramCategory.Airlines, "Lauda Air", "Miles & More", starAlliance);
            model.AddProgramToList(102, ProgramCategory.Airlines, "Lion Air", "Lion Passport", notApplicable);
            model.AddProgramToList(103, ProgramCategory.Airlines, "LOT Polish Airlines", "Miles & More", starAlliance);
            model.AddProgramToList(104, ProgramCategory.Airlines, "Lufthansa", "Miles & More", starAlliance);
            model.AddProgramToList(105, ProgramCategory.Airlines, "Malaysia Airlines", "Enrich", notApplicable);
            model.AddProgramToList(106, ProgramCategory.Airlines, "Malev Hungarian Airlines", "Duna Club", oneWorld);
            model.AddProgramToList(107, ProgramCategory.Airlines, "Merpati Nusantara Airlines", "Merpati Easy Flyer", notApplicable);
            model.AddProgramToList(108, ProgramCategory.Airlines, "Mexicana", "Mexicana Go", oneWorld);
            model.AddProgramToList(109, ProgramCategory.Airlines, "Middle East Airlines", "Cedar Miles", notApplicable);
            model.AddProgramToList(110, ProgramCategory.Airlines, "Midwest Airlines", "Midwest Miles", notApplicable);
            model.AddProgramToList(111, ProgramCategory.Airlines, "Monarch Airlines", "Vantage Club", notApplicable);
            model.AddProgramToList(112, ProgramCategory.Airlines, "Montenegro Airlines", "Vision Team", notApplicable);
            model.AddProgramToList(113, ProgramCategory.Airlines, "Mount Cook Airline", "Airpoints", starAlliance);
            model.AddProgramToList(114, ProgramCategory.Airlines, "Niki", "topbonus", notApplicable);
            model.AddProgramToList(115, ProgramCategory.Airlines, "Nordavia Airlines", "Areoflot Bonus", skyTeam);
            model.AddProgramToList(116, ProgramCategory.Airlines, "OceanAir", "Amigo", notApplicable);
            model.AddProgramToList(117, ProgramCategory.Airlines, "Olympic Air", "Travelair", notApplicable);
            model.AddProgramToList(118, ProgramCategory.Airlines, "Orenari", "Respect", notApplicable);
            model.AddProgramToList(119, ProgramCategory.Airlines, "Pakistan International Airlines", "PIA Awards Plus +", notApplicable);
            model.AddProgramToList(120, ProgramCategory.Airlines, "Pantanal Linhas Aereas", "TAM Fidelidade", starAlliance);
            model.AddProgramToList(121, ProgramCategory.Airlines, "PBAir", "Saen Sabai", notApplicable);
            model.AddProgramToList(122, ProgramCategory.Airlines, "Philippine Airlines", "Mabuhay Miles", notApplicable);
            model.AddProgramToList(123, ProgramCategory.Airlines, "Porter Airlines", "VIPorter", notApplicable);
            model.AddProgramToList(124, ProgramCategory.Airlines, "Portugalia", "Victoria", starAlliance);
            model.AddProgramToList(125, ProgramCategory.Airlines, "PSA Airlines", "Dividend Miles", starAlliance);
            model.AddProgramToList(126, ProgramCategory.Airlines, "Qantas", "Qantas Frequent Flyer", oneWorld);
            model.AddProgramToList(127, ProgramCategory.Airlines, "Royal Air Marco", "Safar Flyer", notApplicable);
            model.AddProgramToList(128, ProgramCategory.Airlines, "Royal Jordanian", "Royal Plus", oneWorld);
            model.AddProgramToList(129, ProgramCategory.Airlines, "S7 Airlines", "S7 Priority", oneWorld);
            model.AddProgramToList(130, ProgramCategory.Airlines, "SAT Airlines", "SAT Club", notApplicable);
            model.AddProgramToList(131, ProgramCategory.Airlines, "Saudi Airlines", "Alfursan", notApplicable);
            model.AddProgramToList(132, ProgramCategory.Airlines, "Scandinavian Airlines", "EuroBonus", starAlliance);
            model.AddProgramToList(133, ProgramCategory.Airlines, "Schenzhen Airlines", "King Club", notApplicable);
            model.AddProgramToList(134, ProgramCategory.Airlines, "Shanghai Airlines", "Crane Club", notApplicable);
            model.AddProgramToList(135, ProgramCategory.Airlines, "Sichuan Airlines", "Golden Panda", notApplicable);
            model.AddProgramToList(136, ProgramCategory.Airlines, "SilkAir ", "KrisFlyer", notApplicable);
            model.AddProgramToList(137, ProgramCategory.Airlines, "Singapore Airlines", "KrisFlyer", starAlliance);
            model.AddProgramToList(138, ProgramCategory.Airlines, "South African Airways", "Voyager", starAlliance);
            model.AddProgramToList(139, ProgramCategory.Airlines, "Southwest Airlines", "Rapid Rewards", notApplicable);
            model.AddProgramToList(140, ProgramCategory.Airlines, "Spanair", "Spanair Plus", starAlliance);
            model.AddProgramToList(141, ProgramCategory.Airlines, "Spirit Airlines", "Free Spirit", notApplicable);
            model.AddProgramToList(142, ProgramCategory.Airlines, "SriLankan Airlines", "FlySmiLes", notApplicable);
            model.AddProgramToList(143, ProgramCategory.Airlines, "Sun Country Airlines", "Ufly Rewards Plus", notApplicable);
            model.AddProgramToList(144, ProgramCategory.Airlines, "Sunstate Airlines", "Qantas Frequent Flyer", oneWorld);
            model.AddProgramToList(145, ProgramCategory.Airlines, "Swiss European Air Lines", "Miles & More", starAlliance);
            model.AddProgramToList(146, ProgramCategory.Airlines, "Swiss International Air Lines", "Miles & More", starAlliance);
            model.AddProgramToList(147, ProgramCategory.Airlines, "TAM", "TAM Fidelidade", notApplicable);
            model.AddProgramToList(148, ProgramCategory.Airlines, "TAM Airlines", "TAM Fidelidade", starAlliance);
            model.AddProgramToList(149, ProgramCategory.Airlines, "TAP Portugal", "Victoria", starAlliance);
            model.AddProgramToList(150, ProgramCategory.Airlines, "TAROM", "Smart Miles", skyTeam);
            model.AddProgramToList(151, ProgramCategory.Airlines, "Thai Airways International", "Royal Orchid Plus", starAlliance);
            model.AddProgramToList(152, ProgramCategory.Airlines, "Transaero", "Transaero Privelege Program", notApplicable);
            model.AddProgramToList(153, ProgramCategory.Airlines, "TUIfly", "Bluemiles", notApplicable);
            model.AddProgramToList(154, ProgramCategory.Airlines, "Tunis Air", "Fidelys", notApplicable);
            model.AddProgramToList(155, ProgramCategory.Airlines, "Turkish Airlines", "Miles&Smiles", starAlliance);
            model.AddProgramToList(156, ProgramCategory.Airlines, "Tyrolean Airways", "Miles & More", starAlliance);
            model.AddProgramToList(157, ProgramCategory.Airlines, "Ukranine International Airlines", "Panorama Club", notApplicable);
            model.AddProgramToList(158, ProgramCategory.Airlines, "United Airlines", "Mileage Plus", starAlliance);
            model.AddProgramToList(159, ProgramCategory.Airlines, "Ural Airlines", "Travelling Club Wings", notApplicable);
            model.AddProgramToList(160, ProgramCategory.Airlines, "US Airways", "Dividend Miles", starAlliance);
            model.AddProgramToList(161, ProgramCategory.Airlines, "UTair", "Status", notApplicable);
            model.AddProgramToList(162, ProgramCategory.Airlines, "VARIG", "Smiles", notApplicable);
            model.AddProgramToList(163, ProgramCategory.Airlines, "Vietnam Airlines", "Golden Lotus Plus", skyTeam);
            model.AddProgramToList(164, ProgramCategory.Airlines, "Virgin America", "eleVAte", notApplicable);
            model.AddProgramToList(165, ProgramCategory.Airlines, "Virgin Atlantic Airways ", "Flying Club", notApplicable);
            model.AddProgramToList(166, ProgramCategory.Airlines, "Virgin Blue", "Velocity Rewards", notApplicable);
            model.AddProgramToList(167, ProgramCategory.Airlines, "Virgin Nigeria Airways", "eagleflier", notApplicable);
            model.AddProgramToList(168, ProgramCategory.Airlines, "Viva Macau", "Viva Macau Frquent Flyer", notApplicable);
            model.AddProgramToList(169, ProgramCategory.Airlines, "Vladivostok Air", "Leader", notApplicable);
            model.AddProgramToList(170, ProgramCategory.Airlines, "VLM Airlines", "Flying Blue", notApplicable);
            model.AddProgramToList(171, ProgramCategory.Airlines, "Vueling", "punto", notApplicable);
            model.AddProgramToList(172, ProgramCategory.Airlines, "Wataniya Airways", "Miles & Smiles", notApplicable);
            model.AddProgramToList(173, ProgramCategory.Airlines, "WestJet", "Frequent Guest", notApplicable);
            model.AddProgramToList(174, ProgramCategory.Airlines, "Widero", "EuroBonus", notApplicable);
            model.AddProgramToList(175, ProgramCategory.Airlines, "Wideroe", "EuroBonus", starAlliance);
            model.AddProgramToList(176, ProgramCategory.Airlines, "Xiamen Airlines", "Egret Card", notApplicable);



            //Hotels

            PartnerGroup IntercontinentalPriorityClubRewards = new PartnerGroup();
            IntercontinentalPriorityClubRewards.Name = "Intercontinental Priority Club Rewards";
            PartnerGroup WyndhamRewards = new PartnerGroup();
            WyndhamRewards.Name = "Wyndham Rewards";
            PartnerGroup AccorHotelsAClub = new PartnerGroup();
            AccorHotelsAClub.Name = "AccorHotels A Club";
            PartnerGroup ChoicePrivileges = new PartnerGroup();
            ChoicePrivileges.Name = "Choice Privileges";
            PartnerGroup BestWesternRewards = new PartnerGroup();
            BestWesternRewards.Name = "Best Western Rewards";
            PartnerGroup goldpointsplus = new PartnerGroup();
            goldpointsplus.Name = "goldpoints plus";
            PartnerGroup RitzCarltonRewards = new PartnerGroup();
            RitzCarltonRewards.Name = "Ritz-Carlton Rewards";
            PartnerGroup FairmontPresidentsClub = new PartnerGroup();
            FairmontPresidentsClub.Name = "Fairmont President's Club";
            PartnerGroup MarriottRewards = new PartnerGroup();
            MarriottRewards.Name = "Marriott Rewards";
            PartnerGroup HiltonHhonors = new PartnerGroup();
            HiltonHhonors.Name = "Hilton Hhonors";
            PartnerGroup StarwoodPreferredGuest = new PartnerGroup();
            StarwoodPreferredGuest.Name = "Starwood Preferred Guest";
            PartnerGroup HyattGoldPassport = new PartnerGroup();
            HyattGoldPassport.Name = "Hyatt Gold Passport";

            IntercontinentalPriorityClubRewards.Partners.Add("Candlewood Suites");
            IntercontinentalPriorityClubRewards.Partners.Add("Crowne Plaza");
            IntercontinentalPriorityClubRewards.Partners.Add("Express by Holiday Inn");
            IntercontinentalPriorityClubRewards.Partners.Add("Holiday Inn");
            IntercontinentalPriorityClubRewards.Partners.Add("Holiday Inn Express");
            IntercontinentalPriorityClubRewards.Partners.Add("Hotel Indigo");
            IntercontinentalPriorityClubRewards.Partners.Add("InterContinental Hotels");
            IntercontinentalPriorityClubRewards.Partners.Add("Staybridge Suites");
            WyndhamRewards.Partners.Add("Baymont Inn & Suites");
            WyndhamRewards.Partners.Add("Days Inn");
            WyndhamRewards.Partners.Add("Hawthorn Suites");
            WyndhamRewards.Partners.Add("Howard Johnson");
            WyndhamRewards.Partners.Add("Knights Inn");
            WyndhamRewards.Partners.Add("Microtel");
            WyndhamRewards.Partners.Add("Ramada");
            WyndhamRewards.Partners.Add("Super 8 Motels");
            WyndhamRewards.Partners.Add("Travelodge");
            WyndhamRewards.Partners.Add("Wingate Inn");
            WyndhamRewards.Partners.Add("Wyndham Garden Hotels");
            WyndhamRewards.Partners.Add("Wyndham Grand Collection");
            WyndhamRewards.Partners.Add("Wyndham Hotels & Resorts");
            AccorHotelsAClub.Partners.Add("Adagio Hotels");
            AccorHotelsAClub.Partners.Add("All Seasons Hotels");
            AccorHotelsAClub.Partners.Add("Etap Hotels");
            AccorHotelsAClub.Partners.Add("Formule 1 Hotels");
            AccorHotelsAClub.Partners.Add("HotelFT");
            AccorHotelsAClub.Partners.Add("Ibis Hotels");
            AccorHotelsAClub.Partners.Add("Mercure");
            AccorHotelsAClub.Partners.Add("Mgallery Collection");
            AccorHotelsAClub.Partners.Add("Novotel");
            AccorHotelsAClub.Partners.Add("Orbis Hotels");
            AccorHotelsAClub.Partners.Add("Pullman Hotels");
            AccorHotelsAClub.Partners.Add("Sofitel Hotels");
            AccorHotelsAClub.Partners.Add("Suite Novotel Hotels");
            AccorHotelsAClub.Partners.Add("Suite Novotel Hotels");
            AccorHotelsAClub.Partners.Add("Thalassa Sea & Spa Hotels");
            ChoicePrivileges.Partners.Add("Ascend Collection");
            ChoicePrivileges.Partners.Add("Cambria Inn");
            ChoicePrivileges.Partners.Add("Clarion");
            ChoicePrivileges.Partners.Add("Comfort Inn");
            ChoicePrivileges.Partners.Add("Comfort Suites");
            ChoicePrivileges.Partners.Add("EconoLodge");
            ChoicePrivileges.Partners.Add("MainStay Suites");
            ChoicePrivileges.Partners.Add("Quality Inns");
            ChoicePrivileges.Partners.Add("Rodeway Inn");
            ChoicePrivileges.Partners.Add("Sleep Inn");
            ChoicePrivileges.Partners.Add("Suburban");
            BestWesternRewards.Partners.Add("Best Western");
            goldpointsplus.Partners.Add("Carlson Hotels");
            goldpointsplus.Partners.Add("Country Inns & Suites");
            goldpointsplus.Partners.Add("Park Inn");
            goldpointsplus.Partners.Add("Park Plaza");
            goldpointsplus.Partners.Add("Radisson Hotels");
            RitzCarltonRewards.Partners.Add("Ritz-Carlton Hotels");
            FairmontPresidentsClub.Partners.Add("Fairmount Hotels");
            MarriottRewards.Partners.Add("Autograph Collection");
            MarriottRewards.Partners.Add("Courtyard by Marriott");
            MarriottRewards.Partners.Add("EDITION");
            MarriottRewards.Partners.Add("ExecuStay");
            MarriottRewards.Partners.Add("Fairfield Inn by Marriott");
            MarriottRewards.Partners.Add("JW Marriott Hotels & Resorts");
            MarriottRewards.Partners.Add("Marriott Conference Centers");
            MarriottRewards.Partners.Add("Marriott Executive Apartments");
            MarriottRewards.Partners.Add("Marriott Hotels & Resorts");
            MarriottRewards.Partners.Add("Marriott Vacation Club International");
            MarriottRewards.Partners.Add("Renaissance Hotels & Resorts");
            MarriottRewards.Partners.Add("Residence Inn by Marriott");
            MarriottRewards.Partners.Add("SpringHill Suites by Marriott");
            MarriottRewards.Partners.Add("The Ritz Carlton");
            MarriottRewards.Partners.Add("TownePlace Suites by Marriott");
            HiltonHhonors.Partners.Add("Conrad");
            HiltonHhonors.Partners.Add("Doubletree");
            HiltonHhonors.Partners.Add("Embassy Suites Hotels");
            HiltonHhonors.Partners.Add("Hampton Inn");
            HiltonHhonors.Partners.Add("Hampton Inn & Suites");
            HiltonHhonors.Partners.Add("Hilton");
            HiltonHhonors.Partners.Add("Hilton Garden Inn");
            HiltonHhonors.Partners.Add("Homewood Suites by Hilton");
            HiltonHhonors.Partners.Add("Waldorf Astoria Hotels");
            StarwoodPreferredGuest.Partners.Add("aLoft");
            StarwoodPreferredGuest.Partners.Add("Element");
            StarwoodPreferredGuest.Partners.Add("Four Points");
            StarwoodPreferredGuest.Partners.Add("LeMerdien");
            StarwoodPreferredGuest.Partners.Add("Sheraton");
            StarwoodPreferredGuest.Partners.Add("St. Regis");
            StarwoodPreferredGuest.Partners.Add("The Luxury Collection");
            StarwoodPreferredGuest.Partners.Add("W Hotels");
            StarwoodPreferredGuest.Partners.Add("Westin");
            HyattGoldPassport.Partners.Add("AndAz");
            HyattGoldPassport.Partners.Add("Grand Hyatt Hotels");
            HyattGoldPassport.Partners.Add("Hyatt Place");
            HyattGoldPassport.Partners.Add("Hyatt Regency Hotels");
            HyattGoldPassport.Partners.Add("Hyatt Resorts");
            HyattGoldPassport.Partners.Add("Hyatt SummerField Suites");
            HyattGoldPassport.Partners.Add("Hyatt Vacation Club");
            HyattGoldPassport.Partners.Add("Park Hyatt");

            model.AddProgramToList(1, ProgramCategory.Hotels, "Candlewood Suites", "Intercontinental Priority Club Rewards", IntercontinentalPriorityClubRewards);
            model.AddProgramToList(2, ProgramCategory.Hotels, "Crowne Plaza", "Intercontinental Priority Club Rewards", IntercontinentalPriorityClubRewards);
            model.AddProgramToList(3, ProgramCategory.Hotels, "Express by Holiday Inn", "Intercontinental Priority Club Rewards", IntercontinentalPriorityClubRewards);
            model.AddProgramToList(4, ProgramCategory.Hotels, "Holiday Inn", "Intercontinental Priority Club Rewards", IntercontinentalPriorityClubRewards);
            model.AddProgramToList(5, ProgramCategory.Hotels, "Holiday Inn Express", "Intercontinental Priority Club Rewards", IntercontinentalPriorityClubRewards);
            model.AddProgramToList(6, ProgramCategory.Hotels, "Hotel Indigo", "Intercontinental Priority Club Rewards", IntercontinentalPriorityClubRewards);
            model.AddProgramToList(7, ProgramCategory.Hotels, "InterContinental Hotels", "Intercontinental Priority Club Rewards", IntercontinentalPriorityClubRewards);
            model.AddProgramToList(8, ProgramCategory.Hotels, "Staybridge Suites", "Intercontinental Priority Club Rewards", IntercontinentalPriorityClubRewards);
            model.AddProgramToList(9, ProgramCategory.Hotels, "Baymont Inn & Suites", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(10, ProgramCategory.Hotels, "Days Inn", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(11, ProgramCategory.Hotels, "Hawthorn Suites", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(12, ProgramCategory.Hotels, "Howard Johnson", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(13, ProgramCategory.Hotels, "Knights Inn", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(14, ProgramCategory.Hotels, "Microtel", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(15, ProgramCategory.Hotels, "Ramada", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(16, ProgramCategory.Hotels, "Super 8 Motels", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(17, ProgramCategory.Hotels, "Travelodge", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(18, ProgramCategory.Hotels, "Wingate Inn", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(19, ProgramCategory.Hotels, "Wyndham Garden Hotels", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(20, ProgramCategory.Hotels, "Wyndham Grand Collection", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(21, ProgramCategory.Hotels, "Wyndham Hotels & Resorts", "Wyndham Rewards", WyndhamRewards);
            model.AddProgramToList(22, ProgramCategory.Hotels, "Adagio Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(23, ProgramCategory.Hotels, "All Seasons Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(24, ProgramCategory.Hotels, "Etap Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(25, ProgramCategory.Hotels, "Formule 1 Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(26, ProgramCategory.Hotels, "HotelFT", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(27, ProgramCategory.Hotels, "Ibis Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(28, ProgramCategory.Hotels, "Mercure", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(29, ProgramCategory.Hotels, "Mgallery Collection", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(30, ProgramCategory.Hotels, "Novotel", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(31, ProgramCategory.Hotels, "Orbis Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(32, ProgramCategory.Hotels, "Pullman Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(33, ProgramCategory.Hotels, "Sofitel Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(34, ProgramCategory.Hotels, "Suite Novotel Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(35, ProgramCategory.Hotels, "Suite Novotel Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(36, ProgramCategory.Hotels, "Thalassa Sea & Spa Hotels", "AccorHotels A Club", AccorHotelsAClub);
            model.AddProgramToList(37, ProgramCategory.Hotels, "Ascend Collection", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(38, ProgramCategory.Hotels, "Cambria Inn", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(39, ProgramCategory.Hotels, "Clarion", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(40, ProgramCategory.Hotels, "Comfort Inn", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(41, ProgramCategory.Hotels, "Comfort Suites", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(42, ProgramCategory.Hotels, "EconoLodge", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(43, ProgramCategory.Hotels, "MainStay Suites", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(44, ProgramCategory.Hotels, "Quality Inns", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(45, ProgramCategory.Hotels, "Rodeway Inn", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(46, ProgramCategory.Hotels, "Sleep Inn", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(47, ProgramCategory.Hotels, "Suburban", "Choice Privileges", ChoicePrivileges);
            model.AddProgramToList(48, ProgramCategory.Hotels, "Best Western", "Best Western Rewards", BestWesternRewards);
            model.AddProgramToList(49, ProgramCategory.Hotels, "Carlson Hotels", "goldpoints plus", goldpointsplus);
            model.AddProgramToList(50, ProgramCategory.Hotels, "Country Inns & Suites", "goldpoints plus", goldpointsplus);
            model.AddProgramToList(51, ProgramCategory.Hotels, "Park Inn", "goldpoints plus", goldpointsplus);
            model.AddProgramToList(52, ProgramCategory.Hotels, "Park Plaza", "goldpoints plus", goldpointsplus);
            model.AddProgramToList(53, ProgramCategory.Hotels, "Radisson Hotels", "goldpoints plus", goldpointsplus);
            model.AddProgramToList(54, ProgramCategory.Hotels, "Ritz-Carlton Hotels", "Ritz-Carlton Rewards", RitzCarltonRewards);
            model.AddProgramToList(55, ProgramCategory.Hotels, "Fairmount Hotels", "Fairmont President's Club", FairmontPresidentsClub);
            model.AddProgramToList(56, ProgramCategory.Hotels, "Autograph Collection", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(57, ProgramCategory.Hotels, "Courtyard by Marriott", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(58, ProgramCategory.Hotels, "EDITION", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(59, ProgramCategory.Hotels, "ExecuStay", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(60, ProgramCategory.Hotels, "Fairfield Inn by Marriott", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(61, ProgramCategory.Hotels, "JW Marriott Hotels & Resorts", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(62, ProgramCategory.Hotels, "Marriott Conference Centers", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(63, ProgramCategory.Hotels, "Marriott Executive Apartments", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(64, ProgramCategory.Hotels, "Marriott Hotels & Resorts", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(65, ProgramCategory.Hotels, "Marriott Vacation Club International", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(66, ProgramCategory.Hotels, "Renaissance Hotels & Resorts", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(67, ProgramCategory.Hotels, "Residence Inn by Marriott", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(68, ProgramCategory.Hotels, "SpringHill Suites by Marriott", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(69, ProgramCategory.Hotels, "The Ritz Carlton", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(70, ProgramCategory.Hotels, "TownePlace Suites by Marriott", "Marriott Rewards", MarriottRewards);
            model.AddProgramToList(71, ProgramCategory.Hotels, "Conrad", "Hilton Hhonors", HiltonHhonors);
            model.AddProgramToList(72, ProgramCategory.Hotels, "Doubletree", "Hilton Hhonors", HiltonHhonors);
            model.AddProgramToList(73, ProgramCategory.Hotels, "Embassy Suites Hotels", "Hilton Hhonors", HiltonHhonors);
            model.AddProgramToList(74, ProgramCategory.Hotels, "Hampton Inn", "Hilton Hhonors", HiltonHhonors);
            model.AddProgramToList(75, ProgramCategory.Hotels, "Hampton Inn & Suites", "Hilton Hhonors", HiltonHhonors);
            model.AddProgramToList(76, ProgramCategory.Hotels, "Hilton", "Hilton Hhonors", HiltonHhonors);
            model.AddProgramToList(77, ProgramCategory.Hotels, "Hilton Garden Inn", "Hilton Hhonors", HiltonHhonors);
            model.AddProgramToList(78, ProgramCategory.Hotels, "Homewood Suites by Hilton", "Hilton Hhonors", HiltonHhonors);
            model.AddProgramToList(79, ProgramCategory.Hotels, "Waldorf Astoria Hotels", "Hilton Hhonors", HiltonHhonors);
            model.AddProgramToList(80, ProgramCategory.Hotels, "aLoft", "Starwood Preferred Guest", StarwoodPreferredGuest);
            model.AddProgramToList(81, ProgramCategory.Hotels, "Element", "Starwood Preferred Guest", StarwoodPreferredGuest);
            model.AddProgramToList(82, ProgramCategory.Hotels, "Four Points", "Starwood Preferred Guest", StarwoodPreferredGuest);
            model.AddProgramToList(83, ProgramCategory.Hotels, "LeMerdien", "Starwood Preferred Guest", StarwoodPreferredGuest);
            model.AddProgramToList(84, ProgramCategory.Hotels, "Sheraton", "Starwood Preferred Guest", StarwoodPreferredGuest);
            model.AddProgramToList(85, ProgramCategory.Hotels, "St. Regis", "Starwood Preferred Guest", StarwoodPreferredGuest);
            model.AddProgramToList(86, ProgramCategory.Hotels, "The Luxury Collection", "Starwood Preferred Guest", StarwoodPreferredGuest);
            model.AddProgramToList(87, ProgramCategory.Hotels, "W Hotels", "Starwood Preferred Guest", StarwoodPreferredGuest);
            model.AddProgramToList(88, ProgramCategory.Hotels, "Westin", "Starwood Preferred Guest", StarwoodPreferredGuest);
            model.AddProgramToList(89, ProgramCategory.Hotels, "AndAz", "Hyatt Gold Passport", HyattGoldPassport);
            model.AddProgramToList(90, ProgramCategory.Hotels, "Grand Hyatt Hotels", "Hyatt Gold Passport", HyattGoldPassport);
            model.AddProgramToList(91, ProgramCategory.Hotels, "Hyatt Place", "Hyatt Gold Passport", HyattGoldPassport);
            model.AddProgramToList(92, ProgramCategory.Hotels, "Hyatt Regency Hotels", "Hyatt Gold Passport", HyattGoldPassport);
            model.AddProgramToList(93, ProgramCategory.Hotels, "Hyatt Resorts", "Hyatt Gold Passport", HyattGoldPassport);
            model.AddProgramToList(94, ProgramCategory.Hotels, "Hyatt SummerField Suites", "Hyatt Gold Passport", HyattGoldPassport);
            model.AddProgramToList(95, ProgramCategory.Hotels, "Hyatt Vacation Club", "Hyatt Gold Passport", HyattGoldPassport);
            model.AddProgramToList(96, ProgramCategory.Hotels, "Park Hyatt", "Hyatt Gold Passport", HyattGoldPassport);



            //Car Rentals

            ////Car Rental Partner Groups
            ////So far all Car Rental programs have no alliances

            model.AddProgramToList(1, ProgramCategory.CarRentals, "Alamo Rent A Car", "Quicksilver", notApplicable);
            model.AddProgramToList(2, ProgramCategory.CarRentals, "Avis", "Avis Preferred/First", notApplicable);
            model.AddProgramToList(3, ProgramCategory.CarRentals, "Budget", "RapidRez / w/Fastbreak / Rent More, Save More", notApplicable);
            model.AddProgramToList(4, ProgramCategory.CarRentals, "Dollar Rent A Car", "Dollar Express", notApplicable);
            model.AddProgramToList(5, ProgramCategory.CarRentals, "Enterprise Rent-A-Car", "Enterprise Plus", notApplicable);
            model.AddProgramToList(6, ProgramCategory.CarRentals, "Hertz", "#1 Club", notApplicable);
            model.AddProgramToList(7, ProgramCategory.CarRentals, "Hertz", "#1 Club Gold", notApplicable);
            model.AddProgramToList(8, ProgramCategory.CarRentals, "National Car Rental", "Emerald Club", notApplicable);
            model.AddProgramToList(9, ProgramCategory.CarRentals, "Thrify", "Blue Chip Rewards", notApplicable);




        }

        public static LocalStorageModel LoadPrograms(string path)
        {
            LocalStorageModel retVal = null;

            StreamReader reader = new StreamReader(path);
            XmlSerializer serializer = new XmlSerializer(typeof(LocalStorageModel));
            retVal = (LocalStorageModel)serializer.Deserialize(reader);
            reader.Close();
            return retVal;
        }
    }
}
